<div v-show="show" class="ui-project-setting">
  <form @submit.prevent="edit">
    <div class="ui-control-bar fn-clear">
      <div class="fn-right">
        <input type="submit" class="ui-button" value="确认"/>
        <input type="button" class="ui-button ui-button-orange" value="取消" @click="cancel"/>
      </div>
    </div>
    <div class="ui-project-configure">
      <ul>
        <li
          v-ref:base
          is="project-base"
          :origin-name.sync="clone.name"
          :path.sync="clone.path"
          :unique="unique">
        </li>
        <li class="ui-sub-item">
          <label>环境变量：</label>
          <dynamic-item
            v-ref:env
            name-label="变量名"
            value-label="变量值"
            :items.sync="clone.env">
          </dynamic-item>
        </li>
        <li id="add-cmd" class="ui-sub-item">
          <label>项目命令：</label>
          <dynamic-item
            v-ref:command
            name-label="名称"
            value-label="命令"
            :items.sync="clone.command">
          </dynamic-item>
        </li>
      </ul>
    </div>
  </form>
</div>